package com.example.basic.googleAPI;

public class MatchesResult {

    private Result[] matches;

    public MatchesResult() {
    }

    public MatchesResult(Result[] matches) {
        this.matches = matches;
    }

    public void setMatches(Result[] matches) {
        this.matches = matches;
    }

    public static class Result {

        private String threatType;
        private String platformType;
        private String cacheDuration;
        private String threatEntryType;
        private ThreatEntry threat;

        public Result() {
        }

        public Result(String threatType, String platformType, String cacheDuration, String threatEntryType, ThreatEntry threat) {
            this.threatType = threatType;
            this.platformType = platformType;
            this.cacheDuration = cacheDuration;
            this.threatEntryType = threatEntryType;
            this.threat = threat;
        }
    }


    public static class ThreatEntry {
        public String url;

        public ThreatEntry() {
        }

        public ThreatEntry(String url) {
            this.url = url;
        }
    }

}
